<?php

	$str = "";
	
	if($select_khachsan)
	{
		foreach($select_khachsan as $row)
		{
			$ma_ks = $row->MaKS;			
			$ten_ks = $row->Ten;
			$str = $str . "<option value='$ma_ks'>$ten_ks</option>";
		}
	}
	
	echo $str;
?>